package com.xiaomi.xiaomishangcheng.Controller.UserController;

import com.xiaomi.xiaomishangcheng.POJO.Order;

import java.util.ArrayList;

public interface OrderController {

    //添加订单 返回是否成功
    Boolean AddOrder();

    //删除订单 返回是否成功
    Boolean DeleteOrder();

    //修改订单 返回是否成功
    Boolean UpdateOrder();

    //查询所有订单
    ArrayList<Order> SelectAllOrder();

    //根据需要查询订单 模糊查询
    ArrayList<Order> SelectOrder();

}
